package com.experiment.aicommunityback.service;

import com.experiment.aicommunityback.entity.Goods;
import com.experiment.aicommunityback.entity.Result;
import com.experiment.aicommunityback.entity.dto.GoodsDTO;
import com.experiment.aicommunityback.entity.dto.GoodsTypeFirstChildDTO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface GoodsService {
    Result getAll();
    Result Conditional_Query(Map<String, Object> paramMap);
    Result selectGoodsTypeList();
    Result delete( List<Integer> arrayData);
    Result addGood(Goods goods);

    Result addGoodsType(GoodsTypeFirstChildDTO goodstype);

    Result changeShelves(Integer id);

    Result changeNewProduct(Integer id);

    Result changeRecommend(Integer id);

    Result getSecondTypeGoodsList();

    Result updateGood(Goods good);

    Result getAllFirstGoodsType();

    Result updateGoodsType(GoodsTypeFirstChildDTO goodstype);
}
